<!-- ############################## body content ############################## -->
<div id="body_content">
    <div id="tours_content">
      	<div id="detail_l" style="padding-right:5px;width:717px">
        	<div id="tours_line" style="border-bottom:1px solid #CCC">
		    	<img src="<?php echo base_url(); ?>public/images/home_icon.png" alt="" align="left" style="margin:-4px 5px 0px 0px;" /><a href="<?php echo base_url(); ?>">Home</a> &raquo; <a href="javascript:void(0)"><?php echo $title; ?></a>
		    </div>
            <div id="showinfo" style="padding-top:10px;padding-left:2px">
            <?php
			function cut_str($val,$start,$end){
				$total 	= strlen($val);
				$cutted = mb_substr($val,$start,$end,'UTF-8');
				$cutted_leng = strlen($cutted);
				if($cutted_leng < $total){
					$seccess = $cutted."...";
				}else{
					$seccess = $cutted;
				}
				return $seccess;
			}
			if(isset($listall) && $listall != NULL){
				foreach($listall as $list){
					echo "<div class='news_items'>";
					if($list['guide_images'] != NULL){
						echo "<a href='".base_url()."travel-guides/$list[guide_rewrite]/$list[guide_id].html'><img src='".base_url()."uploads/news/thumb/$list[guide_images]' class='news_img' alt='".$list['guide_title']."' title='".$list['guide_title']."' /></a>";
					}
					echo "<h3 class='guide_h3'><a href='".base_url()."travel-guides/$list[guide_rewrite]/$list[guide_id].html' title='".$list['guide_title']."'>".$list['guide_title']."</a></h3>";
					echo "<p class='guide_author' style='margin-top:5px'><i>".$list['guide_date']."</i> ";
					echo "</p>";
					echo "<p class='guide_info'>".cut_str($list['guide_info'],0,200)."</p>";
					echo "</div>";
					echo "<div style='clear:left;padding:10px 0px;border-bottom:1px solid #CCC;'></div>";
				}
			}
			?>
            </div>
            <div id="pagination"><?php echo $this->pagination->create_links(); ?></div>
        </div>
      	<div id="detail_r">
        	<div id="hottours">
              	<div class="hot_top"><h3>COMPANY</h3></div>
              	<div class="hot_related">
               	 	<ul>
	                <?php
					if(isset($related)){
						foreach($related as $rela){
							echo "<li><a href='".base_url()."about-us/".$rela['in_name_rewrite']."/".$rela['in_id'].".html'>".$rela['in_name']."</a></li>";
						}
					}
					?>
	                </ul>
                </div>
            </div>
            <div id="support_online"><img src="<?php echo base_url(); ?>public/images/support_online.jpg" width="210" height="135" /></div>
            <div id="custom_trip"><img src="<?php echo base_url(); ?>public/images/custom_your_trip.jpg" width="210" /></div>
            <div id="travel_guide"><img src="<?php echo base_url(); ?>public/images/travel_guide.jpg" width="210" height="135" /></div>
        </div>
        <div class="cls"></div>
    </div>
</div>
<!-- ############################## end body content ############################## -->